//
//  ASDoutuHeadModel.m
//  AvatarShow
//
//  Created by xunruiIOS on 2021/4/29.
//

#import "ASDoutuHeadModel.h"

@implementation ASDoutuHeadModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
                @"tID":@"id",
             };
}

- (NSString *)showName{
    if (_showName.length < 1) {
        _showName = self.name;
        if (self.name.length > 2) {
            NSMutableString *str = [NSMutableString stringWithString:self.name];
            [str insertString:@"\n" atIndex:2];
            _showName = str;
        }
    }
    return _showName;
}
@end
